Two people were killed on Wednesday in the South African township of Soweto, police said, in an outbreak of rioting and looting targeting foreign-owned shops.